package com.angus.auth.form.front;


import com.angus.common.core.annotation.Mobile;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

@Data
public class PasswordRestBody {

    @Email
    private String email;

    @Mobile
    private String phoneNumber;

    @NotEmpty(message = "验证码不能为空")
    private String code;

    @NotEmpty(message = "新密码不能为空")
    private String newPassword;

}
